package com.micangcaihang.micang.entity;

/**
 * <pre>
 *     author : Fandy
 *     e-mail : fandayongfly@gmail.com
 *     time   : 2017/8/8
 *     update : 2017/8/8
 *     desc   : 夫妻信息实体类
 *     version: 1.0
 * </pre>
 */
public class MatesRequest {
    /**
     * customer_id : 1112
     * customer_name : 借款人现任配偶
     * certificate_type : 1
     * certificate_number : 130633198507190014
     * peason_credit : 2
     * peason_crediless : 1
     * peason_enforced : 1
     * mobile_phone : 13699208101
     * customer_sex : 1
     * death_certificate_type : null
     * relationship_type : 1
     * customer_type : 6
     * relationship_id : 1500012388
     */

    private String customer_id;
    private String customer_name;
    private String certificate_type;
    private String certificate_number;
    private String peason_credit;
    private String peason_crediless;
    private String peason_enforced;
    private String mobile_phone;
    private String customer_sex;
    private String death_certificate_type;
    private String relationship_type;
    private String customer_type;
    private String relationship_id;

    public MatesRequest() {
        this.customer_id = "";
        this.customer_name = "";
        this.certificate_type = "";
        this.certificate_number = "";
        this.peason_credit = "";
        this.peason_crediless = "";
        this.peason_enforced = "";
        this.mobile_phone = "";
        this.customer_sex = "";
        this.death_certificate_type = "";
        this.relationship_type = "";
        this.customer_type = "";
        this.relationship_id = "";
    }

    public MatesRequest(String relationship_type) {
        this.customer_id = "";
        this.customer_name = "";
        this.certificate_type = "";
        this.certificate_number = "";
        this.peason_credit = "";
        this.peason_crediless = "";
        this.peason_enforced = "";
        this.mobile_phone = "";
        this.customer_sex = "";
        this.death_certificate_type = "";
        this.relationship_type = relationship_type;
        this.customer_type = "";
        this.relationship_id = "";
    }

    public String getCustomer_id() {
        return customer_id == null ? "" : customer_id;
    }

    public void setCustomer_id(String customer_id) {
        this.customer_id = customer_id;
    }

    public String getCustomer_name() {
        return customer_name == null ? "" : customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String getCertificate_type() {
        return certificate_type == null ? "" : certificate_type;
    }

    public void setCertificate_type(String certificate_type) {
        this.certificate_type = certificate_type;
    }

    public String getCertificate_number() {
        return certificate_number == null ? "" : certificate_number;
    }

    public void setCertificate_number(String certificate_number) {
        this.certificate_number = certificate_number;
    }

    public String getPeason_credit() {
        return peason_credit == null ? "" : peason_credit;
    }

    public void setPeason_credit(String peason_credit) {
        this.peason_credit = peason_credit;
    }

    public String getPeason_crediless() {
        return peason_crediless == null ? "" : peason_crediless;
    }

    public void setPeason_crediless(String peason_crediless) {
        this.peason_crediless = peason_crediless;
    }

    public String getPeason_enforced() {
        return peason_enforced == null ? "" : peason_enforced;
    }

    public void setPeason_enforced(String peason_enforced) {
        this.peason_enforced = peason_enforced;
    }

    public String getMobile_phone() {
        return mobile_phone == null ? "" : mobile_phone;
    }

    public void setMobile_phone(String mobile_phone) {
        this.mobile_phone = mobile_phone;
    }

    public String getCustomer_sex() {
        return customer_sex == null ? "" : customer_sex;
    }

    public void setCustomer_sex(String customer_sex) {
        this.customer_sex = customer_sex;
    }

    public String getDeath_certificate_type() {
        return death_certificate_type == null ? "" : death_certificate_type;
    }

    public void setDeath_certificate_type(String death_certificate_type) {
        this.death_certificate_type = death_certificate_type;
    }

    public String getRelationship_type() {
        return relationship_type == null ? "" : relationship_type;
    }

    public void setRelationship_type(String relationship_type) {
        this.relationship_type = relationship_type;
    }

    public String getCustomer_type() {
        return customer_type == null ? "" : customer_type;
    }

    public void setCustomer_type(String customer_type) {
        this.customer_type = customer_type;
    }

    public String getRelationship_id() {
        return relationship_id == null ? "" : relationship_id;
    }

    public void setRelationship_id(String relationship_id) {
        this.relationship_id = relationship_id;
    }

    @Override
    public String toString() {
        return "MatesRequest{" +
                "customer_id='" + customer_id + '\'' +
                ", customer_name='" + customer_name + '\'' +
                ", certificate_type='" + certificate_type + '\'' +
                ", certificate_number='" + certificate_number + '\'' +
                ", peason_credit='" + peason_credit + '\'' +
                ", peason_crediless='" + peason_crediless + '\'' +
                ", peason_enforced='" + peason_enforced + '\'' +
                ", mobile_phone='" + mobile_phone + '\'' +
                ", customer_sex='" + customer_sex + '\'' +
                ", death_certificate_type='" + death_certificate_type + '\'' +
                ", relationship_type='" + relationship_type + '\'' +
                ", customer_type='" + customer_type + '\'' +
                ", relationship_id='" + relationship_id + '\'' +
                '}';
    }
}
